﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.ServiceModel.Web;

namespace MediaMonitor.WebServicesForAndroid
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IRestAndroid" in both code and config file together.
    [ServiceContract]
    public interface IRestAndroid
    {

        [OperationContract]
        [WebInvoke(Method = "GET",
            ResponseFormat = WebMessageFormat.Json,
            BodyStyle = WebMessageBodyStyle.Wrapped,
            UriTemplate = "checkAdmin/{username}/{password}")]
        string checkAdmin(string username, string password);
    }
}
